<template>
  <div>
    <van-swipe :autoplay="3000" style="height: 10rem">
      <van-swipe-item v-for="(image, index) in images" :key="index">
        <img v-lazy="image" />
      </van-swipe-item>
    </van-swipe>
  </div>

</template>

<script>
    export default {
      name: "LocalHeader",
      data() {
        return {
          images: [
            require(
              '@/assets/xiu1.jpg',
            ),
            require(
              '@/assets/xiu2.png',
            ),
            require(
              '@/assets/xiu3.jpg',
            )
          ],
        };
      },
    }
</script>

<style scoped>


</style>
